/**
 * 工作提醒-获取客户回访周期配置
 */
function apiGetConfig() {
  console.log("apiGetConfig");
  return new Promise((resolve, reject) => {
    const res = {
      code: 200,
      data: [1, 2, 3, 4, 5],
      // data: "",
    };
    const err = {
      code: 500,
      msg: "获取配置失败",
    };
    setTimeout(() => {
      resolve(res);
      // reject(err);
    });
  });
}

/**
 * 工作提醒-保存客户回访周期配置
 * @param {object} data - 配置数据
 */
function apiSetConfig(data) {
  console.log("apiSetConfig", data);
  return new Promise((resolve, reject) => {
    const res = {
      code: 200,
      msg: "保存成功",
    };
    const err = {
      code: 500,
      msg: "保存失败",
    };
    setTimeout(() => {
      resolve(res);
      // reject(err);
    }, 500);
  });
}
